\hypertarget{classinstructionsimple}{\section{instructionsimple \-Class \-Reference}
\label{classinstructionsimple}\index{instructionsimple@{instructionsimple}}
}


{\ttfamily \#include $<$instructionsimple.\-h$>$}

\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classinstructionsimple_ac7f384760234e1af0c177b4975b02bac}{instructionsimple} (string typ, string instr, \hyperlink{classfonction}{fonction} $\ast$f, bool valid)
\begin{DoxyCompactList}\small\item\em \-Constructeur d'instructionsimple. \end{DoxyCompactList}\item 
string \hyperlink{classinstructionsimple_aaafe71b3aa2511e3fb011cac04d5048c}{translate} ()
\begin{DoxyCompactList}\small\item\em \-Traduction vers une instruction-\/chaine c++. \end{DoxyCompactList}\item 
void \hyperlink{classinstructionsimple_a8662e4b4cbefeb3163b5ebdf87d77a54}{print\-Inst} ()
\begin{DoxyCompactList}\small\item\em \-Affichage de l'instructionsimple. \end{DoxyCompactList}\item 
void \hyperlink{classinstructionsimple_a916fa40eaf83a020aec3d0c858290f4e}{\-V\-Declare} ()
\begin{DoxyCompactList}\small\item\em \-Vérification d'une instructionsimple de type \-D\-E\-C\-L\-A\-R\-E. \end{DoxyCompactList}\item 
void \hyperlink{classinstructionsimple_a19bdc2566d071c3a37cf5b8f2658db1e}{\-V\-Affecte} ()
\begin{DoxyCompactList}\small\item\em \-Vérification d'une instructionsimple de type \-A\-F\-F\-E\-C\-T\-E. \end{DoxyCompactList}\item 
void \hyperlink{classinstructionsimple_a495e2ceb62b2ac59202b5ac2d6182081}{\-V\-Affiche} ()
\begin{DoxyCompactList}\small\item\em \-Vérification d'une instructionsimple de type \-A\-F\-F\-I\-C\-H\-E. \end{DoxyCompactList}\item 
void \hyperlink{classinstructionsimple_a5a00214a9ed535e9661a606e61a0c8c8}{\-V\-Appel} ()
\begin{DoxyCompactList}\small\item\em \-Vérification d'une instructionsimple de type \-A\-P\-P\-E\-L. \end{DoxyCompactList}\item 
void \hyperlink{classinstructionsimple_a02888d5625920d3f1736181788e50de7}{\-V\-Retour} ()
\begin{DoxyCompactList}\small\item\em \-Vérification d'une instructionsimple de type \-R\-E\-T\-O\-U\-R. \end{DoxyCompactList}\item 
void \hyperlink{classinstructionsimple_acb974b6ca068d39e4c3efe835e1e0ca8}{\-V\-Repete} ()
\begin{DoxyCompactList}\small\item\em \-Vérification d'une instructionsimple de type \-R\-E\-P\-E\-T\-E. \end{DoxyCompactList}\item 
bool \hyperlink{classinstructionsimple_a9641b981c41d6b6780798bbb4fe47e19}{is\-I\-D} (const string \&id)
\begin{DoxyCompactList}\small\item\em \-Validité d'un identifiant. \end{DoxyCompactList}\item 
bool \hyperlink{classinstructionsimple_a88ced63be3e877b4eb12065d5ce5d801}{is\-Op\-Bin} (const string \&op)
\begin{DoxyCompactList}\small\item\em \-Validité d'un opérateur binaire. \end{DoxyCompactList}\item 
bool \hyperlink{classinstructionsimple_a3aaa800ea7678368cb1acbdc4d68e56d}{is\-Number} (const string \&arg1)
\begin{DoxyCompactList}\small\item\em \-Validité d'un nombre. \end{DoxyCompactList}\item 
bool \hyperlink{classinstructionsimple_a6145a59289e0fa848b5c3e4b5a56afa6}{is\-Expression} (const string \&arg)
\begin{DoxyCompactList}\small\item\em \-Validité d'une notation polonaise inversée. \end{DoxyCompactList}\item 
bool \hyperlink{classinstructionsimple_a64575050f3e7b4afe627578398cc9ddc}{is\-Chaine} (const string \&arg)
\begin{DoxyCompactList}\small\item\em \-Validité d'une chaine. \end{DoxyCompactList}\item 
bool \hyperlink{classinstructionsimple_af8e1507457bfc47b83938c2691dd1a7a}{is\-Valid} ()
\begin{DoxyCompactList}\small\item\em \-Validité de l'instructionsimple. \end{DoxyCompactList}\item 
void \hyperlink{classinstructionsimple_a35a0885d4ad9009dc22680fed43d2f5b}{tokenize} (const string \&str, vector$<$ string $>$ \&tokens, const string \&delimiters=\char`\"{} \char`\"{})
\begin{DoxyCompactList}\small\item\em \-Parsage de la chaine. \end{DoxyCompactList}\item 
string \hyperlink{classinstructionsimple_a7237800c6ee95cdbe1730f01d022d5c3}{translate\-Expression} (const string \&arg)
\begin{DoxyCompactList}\small\item\em \-Traduction d'une expression polonaise inversée. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classinstructionsimple_ac7f384760234e1af0c177b4975b02bac}{\index{instructionsimple@{instructionsimple}!instructionsimple@{instructionsimple}}
\index{instructionsimple@{instructionsimple}!instructionsimple@{instructionsimple}}
\subsubsection[{instructionsimple}]{\setlength{\rightskip}{0pt plus 5cm}{\bf instructionsimple\-::instructionsimple} (
\begin{DoxyParamCaption}
\item[{string}]{typ, }
\item[{string}]{instr, }
\item[{{\bf fonction} $\ast$}]{f, }
\item[{bool}]{valid}
\end{DoxyParamCaption}
)}}\label{classinstructionsimple_ac7f384760234e1af0c177b4975b02bac}


\-Constructeur d'instructionsimple. 

\-Constructeur d'instructionsimple avec un type, le reste, et une valeur de validité (si on est sûr de la validité on peut shunter la validation -\/$>$unused) 
\begin{DoxyParams}{\-Parameters}
{\em typ} & \-: le type de l'instruction \\
\hline
{\em instr} & \-: contenu de l'instruction \\
\hline
{\em valid} & \-: valeur de validité \\
\hline
\end{DoxyParams}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classinstructionsimple_a64575050f3e7b4afe627578398cc9ddc}{\index{instructionsimple@{instructionsimple}!is\-Chaine@{is\-Chaine}}
\index{is\-Chaine@{is\-Chaine}!instructionsimple@{instructionsimple}}
\subsubsection[{is\-Chaine}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf instructionsimple\-::is\-Chaine} (
\begin{DoxyParamCaption}
\item[{const string \&}]{arg}
\end{DoxyParamCaption}
)}}\label{classinstructionsimple_a64575050f3e7b4afe627578398cc9ddc}


\-Validité d'une chaine. 


\begin{DoxyParams}{\-Parameters}
{\em arg,\-:} & la chaine à tester \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{\-Returns}
true si arg est correctement formé 
\end{DoxyReturn}
\hypertarget{classinstructionsimple_a6145a59289e0fa848b5c3e4b5a56afa6}{\index{instructionsimple@{instructionsimple}!is\-Expression@{is\-Expression}}
\index{is\-Expression@{is\-Expression}!instructionsimple@{instructionsimple}}
\subsubsection[{is\-Expression}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf instructionsimple\-::is\-Expression} (
\begin{DoxyParamCaption}
\item[{const string \&}]{arg}
\end{DoxyParamCaption}
)}}\label{classinstructionsimple_a6145a59289e0fa848b5c3e4b5a56afa6}


\-Validité d'une notation polonaise inversée. 


\begin{DoxyParams}{\-Parameters}
{\em arg,\-:} & la chaine à tester \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{\-Returns}
true si arg est une notation polonaise inversée 
\end{DoxyReturn}
\hypertarget{classinstructionsimple_a9641b981c41d6b6780798bbb4fe47e19}{\index{instructionsimple@{instructionsimple}!is\-I\-D@{is\-I\-D}}
\index{is\-I\-D@{is\-I\-D}!instructionsimple@{instructionsimple}}
\subsubsection[{is\-I\-D}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf instructionsimple\-::is\-I\-D} (
\begin{DoxyParamCaption}
\item[{const string \&}]{id}
\end{DoxyParamCaption}
)}}\label{classinstructionsimple_a9641b981c41d6b6780798bbb4fe47e19}


\-Validité d'un identifiant. 


\begin{DoxyParams}{\-Parameters}
{\em id,\-:} & la chaine à tester \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{\-Returns}
true si id est de la forme \mbox{[}a-\/z\-A-\/\-Z\mbox{]}\mbox{[}\mbox{[}a-\/z\-A-\/\-Z\mbox{]}$\ast$\mbox{[}0-\/9\mbox{]}\mbox{]}$\ast$ 
\end{DoxyReturn}
\hypertarget{classinstructionsimple_a3aaa800ea7678368cb1acbdc4d68e56d}{\index{instructionsimple@{instructionsimple}!is\-Number@{is\-Number}}
\index{is\-Number@{is\-Number}!instructionsimple@{instructionsimple}}
\subsubsection[{is\-Number}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf instructionsimple\-::is\-Number} (
\begin{DoxyParamCaption}
\item[{const string \&}]{arg1}
\end{DoxyParamCaption}
)}}\label{classinstructionsimple_a3aaa800ea7678368cb1acbdc4d68e56d}


\-Validité d'un nombre. 


\begin{DoxyParams}{\-Parameters}
{\em arg1,\-:} & la chaine à tester \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{\-Returns}
true si arg1 est un nombre 
\end{DoxyReturn}
\hypertarget{classinstructionsimple_a88ced63be3e877b4eb12065d5ce5d801}{\index{instructionsimple@{instructionsimple}!is\-Op\-Bin@{is\-Op\-Bin}}
\index{is\-Op\-Bin@{is\-Op\-Bin}!instructionsimple@{instructionsimple}}
\subsubsection[{is\-Op\-Bin}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf instructionsimple\-::is\-Op\-Bin} (
\begin{DoxyParamCaption}
\item[{const string \&}]{op}
\end{DoxyParamCaption}
)}}\label{classinstructionsimple_a88ced63be3e877b4eb12065d5ce5d801}


\-Validité d'un opérateur binaire. 


\begin{DoxyParams}{\-Parameters}
{\em op,\-:} & la chaine à tester \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{\-Returns}
true si op est l'un des opérateurs binaires autorisés 
\end{DoxyReturn}
\hypertarget{classinstructionsimple_af8e1507457bfc47b83938c2691dd1a7a}{\index{instructionsimple@{instructionsimple}!is\-Valid@{is\-Valid}}
\index{is\-Valid@{is\-Valid}!instructionsimple@{instructionsimple}}
\subsubsection[{is\-Valid}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf instructionsimple\-::is\-Valid} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classinstructionsimple_af8e1507457bfc47b83938c2691dd1a7a}


\-Validité de l'instructionsimple. 

\begin{DoxyReturn}{\-Returns}
la valeur de valide 
\end{DoxyReturn}
\hypertarget{classinstructionsimple_a8662e4b4cbefeb3163b5ebdf87d77a54}{\index{instructionsimple@{instructionsimple}!print\-Inst@{print\-Inst}}
\index{print\-Inst@{print\-Inst}!instructionsimple@{instructionsimple}}
\subsubsection[{print\-Inst}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf instructionsimple\-::print\-Inst} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classinstructionsimple_a8662e4b4cbefeb3163b5ebdf87d77a54}


\-Affichage de l'instructionsimple. 

\hypertarget{classinstructionsimple_a35a0885d4ad9009dc22680fed43d2f5b}{\index{instructionsimple@{instructionsimple}!tokenize@{tokenize}}
\index{tokenize@{tokenize}!instructionsimple@{instructionsimple}}
\subsubsection[{tokenize}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf instructionsimple\-::tokenize} (
\begin{DoxyParamCaption}
\item[{const string \&}]{str, }
\item[{vector$<$ string $>$ \&}]{tokens, }
\item[{const string \&}]{delimiters = {\ttfamily \char`\"{}~\char`\"{}}}
\end{DoxyParamCaption}
)}}\label{classinstructionsimple_a35a0885d4ad9009dc22680fed43d2f5b}


\-Parsage de la chaine. 


\begin{DoxyParams}{\-Parameters}
{\em str,\-:} & la chaine à parser \\
\hline
{\em tokens} & \-: le conteneur des chaines trouvées \\
\hline
{\em delimiters} & \-: le séparateur \\
\hline
\end{DoxyParams}
\hypertarget{classinstructionsimple_aaafe71b3aa2511e3fb011cac04d5048c}{\index{instructionsimple@{instructionsimple}!translate@{translate}}
\index{translate@{translate}!instructionsimple@{instructionsimple}}
\subsubsection[{translate}]{\setlength{\rightskip}{0pt plus 5cm}string {\bf instructionsimple\-::translate} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classinstructionsimple_aaafe71b3aa2511e3fb011cac04d5048c}


\-Traduction vers une instruction-\/chaine c++. 

\hypertarget{classinstructionsimple_a7237800c6ee95cdbe1730f01d022d5c3}{\index{instructionsimple@{instructionsimple}!translate\-Expression@{translate\-Expression}}
\index{translate\-Expression@{translate\-Expression}!instructionsimple@{instructionsimple}}
\subsubsection[{translate\-Expression}]{\setlength{\rightskip}{0pt plus 5cm}string {\bf instructionsimple\-::translate\-Expression} (
\begin{DoxyParamCaption}
\item[{const string \&}]{arg}
\end{DoxyParamCaption}
)}}\label{classinstructionsimple_a7237800c6ee95cdbe1730f01d022d5c3}


\-Traduction d'une expression polonaise inversée. 

\begin{DoxyReturn}{\-Returns}
la traduction 
\end{DoxyReturn}
\hypertarget{classinstructionsimple_a19bdc2566d071c3a37cf5b8f2658db1e}{\index{instructionsimple@{instructionsimple}!\-V\-Affecte@{\-V\-Affecte}}
\index{\-V\-Affecte@{\-V\-Affecte}!instructionsimple@{instructionsimple}}
\subsubsection[{\-V\-Affecte}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf instructionsimple\-::\-V\-Affecte} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classinstructionsimple_a19bdc2566d071c3a37cf5b8f2658db1e}


\-Vérification d'une instructionsimple de type \-A\-F\-F\-E\-C\-T\-E. 

\-Vérification d'une instructionsimple de type \-A\-F\-F\-E\-C\-T\-E \-Si l'instructionsimple est valide on \char`\"{}initialise\char`\"{} la variable concernée dans les variables de fun \-Si non valide on écrit dans flux\-\_\-erreur \hypertarget{classinstructionsimple_a495e2ceb62b2ac59202b5ac2d6182081}{\index{instructionsimple@{instructionsimple}!\-V\-Affiche@{\-V\-Affiche}}
\index{\-V\-Affiche@{\-V\-Affiche}!instructionsimple@{instructionsimple}}
\subsubsection[{\-V\-Affiche}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf instructionsimple\-::\-V\-Affiche} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classinstructionsimple_a495e2ceb62b2ac59202b5ac2d6182081}


\-Vérification d'une instructionsimple de type \-A\-F\-F\-I\-C\-H\-E. 

\-Vérification d'une instructionsimple de type \-A\-F\-F\-I\-C\-H\-E \-Si non valide on écrit dans flux\-\_\-erreur \hypertarget{classinstructionsimple_a5a00214a9ed535e9661a606e61a0c8c8}{\index{instructionsimple@{instructionsimple}!\-V\-Appel@{\-V\-Appel}}
\index{\-V\-Appel@{\-V\-Appel}!instructionsimple@{instructionsimple}}
\subsubsection[{\-V\-Appel}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf instructionsimple\-::\-V\-Appel} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classinstructionsimple_a5a00214a9ed535e9661a606e61a0c8c8}


\-Vérification d'une instructionsimple de type \-A\-P\-P\-E\-L. 

\-Vérification d'une instructionsimple de type \-A\-P\-P\-E\-L \-On vérifie l'éxistence de la fonction appellée et les paramètres \-Si non valide on écrit dans flux\-\_\-erreur \hypertarget{classinstructionsimple_a916fa40eaf83a020aec3d0c858290f4e}{\index{instructionsimple@{instructionsimple}!\-V\-Declare@{\-V\-Declare}}
\index{\-V\-Declare@{\-V\-Declare}!instructionsimple@{instructionsimple}}
\subsubsection[{\-V\-Declare}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf instructionsimple\-::\-V\-Declare} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classinstructionsimple_a916fa40eaf83a020aec3d0c858290f4e}


\-Vérification d'une instructionsimple de type \-D\-E\-C\-L\-A\-R\-E. 

\-Vérification d'une instructionsimple de type \-D\-E\-C\-L\-A\-R\-E \-Si l'instructionsimple est valide on ajoute la variable déclarée aux variables de fun \-Si non valide on écrit dans flux\-\_\-erreur \hypertarget{classinstructionsimple_acb974b6ca068d39e4c3efe835e1e0ca8}{\index{instructionsimple@{instructionsimple}!\-V\-Repete@{\-V\-Repete}}
\index{\-V\-Repete@{\-V\-Repete}!instructionsimple@{instructionsimple}}
\subsubsection[{\-V\-Repete}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf instructionsimple\-::\-V\-Repete} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classinstructionsimple_acb974b6ca068d39e4c3efe835e1e0ca8}


\-Vérification d'une instructionsimple de type \-R\-E\-P\-E\-T\-E. 

\-Vérification d'une instructionsimple de type \-R\-E\-P\-E\-T\-E \-Si non valide on écrit dans flux\-\_\-erreur \hypertarget{classinstructionsimple_a02888d5625920d3f1736181788e50de7}{\index{instructionsimple@{instructionsimple}!\-V\-Retour@{\-V\-Retour}}
\index{\-V\-Retour@{\-V\-Retour}!instructionsimple@{instructionsimple}}
\subsubsection[{\-V\-Retour}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf instructionsimple\-::\-V\-Retour} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classinstructionsimple_a02888d5625920d3f1736181788e50de7}


\-Vérification d'une instructionsimple de type \-R\-E\-T\-O\-U\-R. 

\-Vérification d'une instructionsimple de type \-R\-E\-T\-O\-U\-R \-Si non valide on écrit dans flux\-\_\-erreur 

\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
\hyperlink{instructionsimple_8h}{instructionsimple.\-h}\item 
\hyperlink{instructionsimple_8cpp}{instructionsimple.\-cpp}\end{DoxyCompactItemize}
